widgets.brease.TableItem

Widget Description

short: Datensatz für eine Zeile bzw. Spalte
de: Datensatz für eine Zeile bzw. Spalte
en: Dataset for one row respectively column

Properties

name description category type defaultValue bindable readOnly required localizable editableBinding projectable cssProp (has no setter and getter in JS) groupRefId groupOrder nodeRefId (for linking node and value) deprecated typeRefId (for StyleReference) subtype (for MpComIdentReference)
columnWidth Can individually override columnWidth of Table if !== 0 when TableItem is a column. Appearance UInteger 0 true false false false false true CellSize 2
enable Initial option to enable widget. Behavior Boolean true true false false false false true
format NumberFormat for every measurement system. Appearance brease.config.MeasurementSystemFormat {'metric':{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }, 'imperial' :{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }, 'imperial-us' :{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }} true false false false false true
input If true, data inputs are allowed Behavior Boolean false false false false false false true
inputStyle Style of the related numeric and alphanumeric keyboard. Appearance String default false false false false false true
limitViolationPolicy Controls behavior in case of a limit violation. Behavior brease.enum.LimitViolationPolicy noSubmit false false false false false true
maxLength The maxLength attribute specifies the maximum number of characters allowed in the TextInput If not defined (=default), there is no restriction. Behavior Integer 100 false false false false false true
maxValue Maximum value for input. Behavior Number 100 false false false false false true
minValue Maximum value for input. Behavior Number 0 false false false false false true
node Binding for NUMERIC Arrays with Unit. NOTE: Only one array binding is allowed. Data brease.datatype.ArrayNode no defaultValue
defined
true false false false true false
permissionOperate restricts operability to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
permissionView restricts visibility to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
rowHeight Can individually override rowHeight of Table if !== 0 when TableItem is a row. Appearance UInteger 0 true false false false false true CellSize 1
showUnit If true, unit symbol will be shown in the header next to the text. Behavior Boolean false false false false false false true
stringValue Binding for STRING Arrays. NOTE: Only one array binding is allowed. Data StringArray1D [] true false false false true false
style reference to a style for this widget type Appearance StyleReference default true false false false false true
text Heading for table column. Appearance String true false false true false true
unit Unit code for every measurement system. Appearance brease.config.MeasurementSystemUnit true false false false false true
useDigitGrouping Determines if digit grouping should be used Behavior Boolean true false false false false false true
value Binding for NUMERIC Arrays. NOTE: Only one array binding is allowed. Data NumberArray1D [] true false false false true false node
visible change visibility Behavior Boolean true true false false false false true
zIndex The zIndex property specifies the z-order of a widget and its childs.
When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one.
The zIndex must be unique within a content.
UInteger no defaultValue
defined
false false true true true

Styleable Properties

name type description defaultValue
backColorOdd Color

Sets the background color of the table

transparent
backColorEven Color

Sets the background color of the table

transparent
backgroundGradientEven Gradient

Background as a gradient for even table entries in column direction

backgroundGradientOdd Gradient

Background as a gradient for even table entries in column direction

headerBackColor Color

Text color for selected entries

#FCFCFC
headerGradient Gradient

Background gradient for table header

headerTextColor Color

Sets the header text color

#333333
headerFontSize PixelVal

Fontsize of the header text

14px
headerBold Boolean

If true header text is bold

false
headerItalic Boolean

If true header text is italic

false
sortingButtonColor Color

Color of the arrow that is not the sorted way

#ececec
sortingButtonActiveColor Color

Color of the arrow that is the sorted way

#5f8dd3
textColorOdd Color

Sets the text color

#333333
textColorEven Color

Sets the text color

#333333
bold Boolean

If true font style is bold

false
italic Boolean

If true font style is italic

false
fontSize PixelVal

Fontsize of the text

14px
cellAlign brease.enum.BackgroundPosition

Alignment of the text in a cell

center center
cellBorderStyle BorderStyle

Style of the cell borders

solid
cellBorderColor Color

Sets the border color of each cell. For further information, please see its type

#C8C8C8
cellBorderWidth PixelValCollection

Sets the border width of each cell. For further information, please see its type

0px 0px 1px 1px
cellPadding Padding

Padding of table cells.

0px
headerCellPadding Padding

Padding of the header cells.

0px

Events

name description arguments
Click Fired when element is clicked on.
  • origin: String

    id of widget that triggered this event

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

DisabledClick Fired when disabled element is clicked on.
  • origin: String

    id of widget that triggered this event

  • hasPermission: Boolean

    defines if the state is caused due to missing roles of the current user

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

EnableChanged Fired when operability of the widget changes.
  • value: Boolean

    operability

ValueChanged Triggered when any value in the array is changed
VisibleChanged Fired when the visibility of the widget changes.
  • value: Boolean

    visibility

Actions

name description arguments result
SetColumnWidth Sets columnWidth
  • value: Size

SetEnable Sets the state of property «enable»
  • value: Boolean

SetRowHeight Sets rowHeight
  • value: Size

SetText Sets text
  • value: String

SetVisible Sets the state of property «visible»
  • value: Boolean